	
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html lang="en">	
<head>
	<title> <?php echo $layout_title; ?></title>
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
	
	<link type="text/css" rel="stylesheet" href="<?= base_url()?>style/mystyle.css" />
	<link rel="stylesheet" href="<?php echo base_url(); ?>jqwidgets/styles/jqx.base.css" type="text/css" />
	<link rel="stylesheet" href="<?php echo base_url(); ?>jqwidgets/styles/jqx.custom.css" type="text/css" />
	
	<script type="text/javascript" src="<?php echo base_url(); ?>jqwidgets/scripts/jquery-1.8.2.min.js"></script>
    <script type="text/javascript" src="<?php echo base_url(); ?>jqwidgets/jqxcore.js"></script>   
    <script type="text/javascript" src="<?php echo base_url(); ?>jqwidgets/jqxdata.js"></script>              
	<script type="text/javascript" src="<?php echo base_url(); ?>jqwidgets/jqxbuttons.js"></script>               
	<script type="text/javascript" src="<?php echo base_url(); ?>jqwidgets/jqxscrollbar.js"></script>   
	<script type="text/javascript" src="<?php echo base_url(); ?>jqwidgets/jqxmenu.js"></script>               
	<script type="text/javascript" src="<?php echo base_url(); ?>jqwidgets/jqxgrid.js"></script>                 
	<script type="text/javascript" src="<?php echo base_url(); ?>jqwidgets/jqxgrid.selection.js"></script>      
	<script type="text/javascript" src="<?php echo base_url(); ?>jqwidgets/jqxgrid.filter.js"></script>   
	<script type="text/javascript" src="<?php echo base_url(); ?>jqwidgets/jqxlistbox.js"></script>   
 	<script type="text/javascript" src="<?php echo base_url(); ?>jqwidgets/jqxdropdownlist.js"></script>   
	<script type="text/javascript" src="<?php echo base_url(); ?>jqwidgets/jqxinput.js"></script>  
	<script type="text/javascript" src="<?php echo base_url(); ?>jqwidgets/jqxnumberinput.js"></script>  
	<script type="text/javascript" src="<?php echo base_url(); ?>jqwidgets/jqxcheckbox.js"></script>  
	<script type="text/javascript" src="<?php echo base_url(); ?>jqwidgets/jqxdatetimeinput.js"></script> 
	<script type="text/javascript" src="<?php echo base_url(); ?>jqwidgets/globalization/globalize.js"></script>  
	<script type="text/javascript" src="<?php echo base_url(); ?>jqwidgets/globalization/jquery.global.js"></script>  
	
	<script type="text/javascript" src="<?php echo base_url(); ?>jqwidgets/jqxwindow.js"></script>   
	<script type="text/javascript" src="<?php echo base_url(); ?>jqwidgets/jqxgrid.sort.js"></script>   
	<script type="text/javascript" src="<?php echo base_url(); ?>jqwidgets/jqxgrid.pager.js"></script>   
	<script type="text/javascript" src="<?php echo base_url(); ?>jqwidgets/jqxscrollbar.js"></script>   
	<script type="text/javascript" src="<?php echo base_url(); ?>jqwidgets/jqxpanel.js"></script>   
	<script type="text/javascript" src="<?php echo base_url(); ?>jqwidgets/jqxgrid.columnsresize.js"></script>   
 		
	<script type="text/javascript">
		var winO;
		var winH;
		var winF;
		var winM;
		var winT;
		var winB;
	
		function OuterCenterResize () {
			winO = $(window).height();
			winH = $('#head').height();
			winM = $('#wbNav').height();
			winT = $('#wbBar').height();
			winF = $('#foot').height();
			winB = winO - winH - winM - winT - winF-20;
			$('#content_body').css('height', winB+'px');
			$('#foot .boundery').css('width', ($(window).width()-40)+'px');
			$('#wbMenu').css('width', $(window).width()+'px');
		}
	
		$(window).resize(function() {
	       OuterCenterResize();
	    });

		$(document).ready(function () {	
				OuterCenterResize();
				/*	var imgw = $('#content_body').width() - 10;
			
				$('#masterplan').width(imgw);

				$('#head-home').click(function() {
					$('#content_head_J').html('Home');
					$('#content_body').append('<div class="loading"></div>').load('home.php', { 'mId': 1 }, function(responseText, textStatus, XMLHttpRequest) {
						if (textStatus == 'error') {
							if (XMLHttpRequest.status == '404') 
								var msg = 'Sorry, you try to open a page that is not loading.';
							else
								var msg = '';
							$('#content_body').html('<span class=\"txterror\">'+msg+'</span>');
						}
					});

					*/
				});
				
		var dayNames = new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");
		var monthNames = new Array("January","February","March","April","May","June","July","August","September","October","November","December");

		function js_clock(){
			// Array of day names
			var clock_time = new Date();
			var y  = clock_time.getYear();

			// Y2K compliant
			if (y < 1000) y +=1900;

			var clock_hours = clock_time.getHours();
			var clock_minutes = clock_time.getMinutes();
			var clock_seconds = clock_time.getSeconds();
			if (clock_hours < 10){clock_hours = "0" + clock_hours;}
			if (clock_minutes < 10){clock_minutes = "0" + clock_minutes;}
			if (clock_seconds < 10){clock_seconds = "0" + clock_seconds;}
			var clock_div = $('#head-autodate');
			clock_div.html("<div style='float: right; text-align: left;'>"+clock_hours + ":" + clock_minutes + ":" + clock_seconds+"</div><div style='float: right;  background: url(/propertiku/images/vline.png) no-repeat center center; width: 11px; height: 16px;'></div><div style='float: right;   text-align: left;'>"+dayNames[clock_time.getDay()] + ", " + clock_time.getDate() + " "+ monthNames[clock_time.getMonth()] + " " + y+"</div>");
			setTimeout("js_clock()", 1000);
		}
		js_clock();
	</script>
</head>
	
<body>
	<div id="head"> 
		<div id="head-logo"></div>
		<div id="head-center"></div>
		<div id="head-nav-top">					
			<div id="head-sign-in">Sign In</div>
			<div id="head-sign-out"><?php echo $link= anchor('login/logout','Sign Out'); ?></div>
			<div id="head-sign-up">Sign Up</div>
			<div id="head-home">Home</div>
		</div>
		<div id="head-autodate"></div>
	</div>	
	
	<div id="wbNav">
		<div class="boudery-nav">
			<ul id="wbMenu">
			 <?php echo isset($view_menu) ? $this->load->view($view_menu) : '' ; ?>
			 
			</ul>
		</div>
	</div>
		
	<div id="wbBar">
		<div class="boundery-bar fleft barJudul" id="content_head_J"></div>
		<div class="vline" id="content_head_s"></div>
		<div class="boundery-toolbar fleft" id="content_head"></div>
	</div>
		
	<div id="content_body_bd">
		<div id="content_body">
			 <?php echo isset($view_main) ? $this->load->view($view_main) : '' ; ?>
		</div>
	</div>
	
	<div id="foot"> 
		<div class="boundery">
			<div>Copyright &copy; ".cTAHUN." - ".date("Y").", ".cCompany.". All Rights Reserved. Browser Compability: ".BrowserSupport."</div>
		</div>
	</div>
</body>
</html>
























